import request from '@/util/request'

export function checkCompanyName(companyName) {
  return request({
    url: `company/check/name/${companyName}.json`,
    method: 'get',
    baseUrl: process.env.VUE_APP_AJS_USER
  })
}

export function checkCompanyCode(companyCode) {
  return request({
    url: `company/check/code/${companyCode}.json`,
    method: 'get',
    baseUrl: process.env.VUE_APP_AJS_USER
  })
}
